# iOS

Languine supports iOS Localizable.strings files, the standard localization format for iOS applications. This format handles basic key-value string pairs and supports comments for providing context to translators.

---

## Setting Up

First, make sure you've got a languine.json config file in your project root. Here's an example:

```json
{
  "locale": {
    "source": "en",
    "targets": ["sv", "de", "fr"]
  },
  "files": {
    "ios": {
      "include": ["[locale].lproj/Localizable.strings"]
    }
  }
}
```

## Translating

With your config set, run:

```bash
npx languine@latest translate
```

When you run this command, Languine will:

- Load your source Localizable.strings file (e.g., en.lproj/Localizable.strings)
- Detect any new or modified translation strings
- Generate translations for your target languages
- Create or update the target language files (e.g., sv.lproj/Localizable.strings)
- Preserve any existing comments and formatting
